package file;

import java.io.File;
import java.io.FileFilter;

public class HomeWork01 {
    public static void main(String[] args) {
        File file = new File(".");
        File[] files = file.listFiles(file1 -> file1.getName().contains("s"));
        for (int i = 0; i < files.length; i++) {
            System.out.println(files[i].getName());
        }
    }
}
